<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>通话</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="css/bootstrap-datetimepicker.css" rel="stylesheet" />
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <link href="fontAwesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="css/common.css" rel="stylesheet" />
    <link rel="stylesheet" href="css/audioplayer.css" />
    <link href="css/currency.css" rel="stylesheet" />
    <link href="css/main.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/bootstrap-datetimepicker.js"></script>
    <script type="text/javascript" src="js/bootstrap.js"></script>
  </head>
<body>
    <div class="main-content">
        <div class="nav-list-title">
            <ul class="list-title-crumbs">
                <li>
                  <i class="fa fa-map-marker mainTone"></i>
                  <a class="text">客户列表</a>
                  <i class="fa fa-angle-right"></i>
                </li>
                <li><a class="mainTone">通话</a></li>
            </ul>
        </div>
        <div class="item-info-surround">
            <h3 class="item-title">查询条件</h3>
            <ul class="exhibition-list">
                <li class="col-lg-7 col-md-12">
                    <div class="currency-template-query">
                        <label class="template-title">通话日期：</label>
                        <div class="template-controls">
                            <select class="form-control form-control-sm fl">
                                <option>请选择</option>
                                <option>1</option>
                                <option>2</option>
                            </select>
                            <div class="time-selector time-selector-line">
                              <div class="time-selector-list date form_datetime">
                                <input type="text" class="form-control" placeholder="请选择">
                                <span class="timeIcon add-on"><i class="fa fa-calendar"></i></span>
                              </div>
                              <div class="interval-span">-</div>
                              <div class="time-selector-list date form_datetime">
                                <input type="text" class="form-control" placeholder="请选择">
                                <span class="timeIcon add-on"><i class="fa fa-calendar"></i></span>
                              </div>
                            </div>
                        </div>
                    </div>
                </li>
                <li class="col-lg-5 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">通话人：</label>
                        <div class="template-controls">
                            <select class="form-control form-control-sm fl">
                                <option>请选择</option>
                                <option>1</option>
                                <option>2</option>
                            </select>
                            <select class="form-control form-control-sm fl mL10">
                                <option>请选择</option>
                                <option>1</option>
                                <option>2</option>
                            </select>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">来源：</label>
                        <div class="template-controls">
                            <select class="form-control">
                                <option>请选择</option>
                                <option>1</option>
                                <option>2</option>
                            </select>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">通话状态：</label>
                        <div class="template-controls">
                            <select class="form-control">
                                <option>请选择</option>
                                <option>1</option>
                                <option>2</option>
                            </select>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">提醒开始时间：</label>
                        <div class="template-controls">
                            <div class="time-selector">
                              <div class="time-selector-list date form_datetime">
                                <input type="text" class="form-control" placeholder="请选择">
                                <span class="timeIcon add-on"><i class="fa fa-calendar"></i></span>
                              </div>
                              <div class="interval-span">-</div>
                              <div class="time-selector-list date form_datetime">
                                <input type="text" class="form-control" placeholder="请选择">
                                <span class="timeIcon add-on"><i class="fa fa-calendar"></i></span>
                              </div>
                            </div>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">提醒结束时间：</label>
                        <div class="template-controls">
                            <div class="time-selector">
                              <div class="time-selector-list date form_datetime">
                                <input type="text" class="form-control" placeholder="请选择">
                                <span class="timeIcon add-on"><i class="fa fa-calendar"></i></span>
                              </div>
                              <div class="interval-span">-</div>
                              <div class="time-selector-list date form_datetime">
                                <input type="text" class="form-control" placeholder="请选择">
                                <span class="timeIcon add-on"><i class="fa fa-calendar"></i></span>
                              </div>
                            </div>
                        </div>
                    </div>
                </li>
                <li class="col-lg-4 col-md-6">
                    <div class="currency-template-query">
                        <label class="template-title">房型：</label>
                        <div class="template-controls">
                            <input type="number" class="form-control form-control-sm"> &nbsp;&nbsp;秒&nbsp;&nbsp;
                            <input type="number" class="form-control form-control-sm"> &nbsp;&nbsp;秒
                        </div>
                    </div>
                </li>
            </ul>
            <div class="query-operation">
                <div class="fr">
                    <button class="btn">查询</button>
                    <a href="javascript:;" class="empty">清空</a>
                </div>
            </div>
        </div>
        <div class="item-info-surround">
            <h3 class="item-title bor-nb">通话记录列表   (注:系统将定时获取通话情况。如显示"未取话单"，请等待系统获取通话情况。)</h3>
            <div class="table-responsive">
                <table class="table table-striped table-bordered min-width-1150">
                    <thead>
                        <tr>
                            <th>日期</th>
                            <th>开始时间</th>
                            <th>结束时间</th>
                            <th>时长</th>
                            <th>部门</th>
                            <th>员工</th>
                            <th>主叫号码</th>
                            <th>被叫号码</th>
                            <th>来源</th>
                            <th>关联业务</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>2016-10-16</td>
                            <td>12:39:56</td>
                            <td>12:59:56</td>
                            <td>0:20:00</td>
                            <td>
                                <div class="across-show" data-toggle="tooltip" data-placement="bottom" title="上海巧房信息科技有限公司">
                                    上海巧房信息科技有限公司
                                </div></td>
                            <td>汪汪汪</td>
                            <td>12314567895</td>
                            <td>12314567895</td>
                            <td>客户</td>
                            <td>123123</td>
                            <td>
                                <a href="javascript:;" class="operationBtn" data-toggle="modal" data-target="#myModal">听录音</a>
                                <a href="javascript:;" class="operationBtn">下载</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                      <h4 class="modal-title">播放录音</h4>
                    </div>
                    <div class="modal-body">
                        <audio src="audio/seeyouagain.mp3" preload="auto" controls></audio>
                    </div>
                </div>
            </div>
        </div>
    </div> 
</body>
<script src="js/audioplayer.js"></script>
<script type="text/javascript">
    $(function(){
        
        $(".form_datetime").datetimepicker({
            format: "yyyy-mm-dd",//日yyyy-mm-dd hh:ii
            autoclose: true,
            todayBtn: true,
            minView:2,//显示到天设置2、显示到时设置1、显示到分设置0
            startView:2,//首先显示的视图
            pickerPosition: "bottom-left"
            // startDate: "2016-12-14 10:00"
        });

        $(".nav-list-cell li").click(function(){
            $(this).addClass("active").siblings().removeClass("active");
            var num = $(this).index();
            showInfoDtails(num);
        })
        function showInfoDtails(index){
            $(".info-details-list .details-list-li").eq(index).addClass().addClass("active").siblings().removeClass("active");
        }
        $(".across-show").hover(function(){
            $(this).tooltip('show')
        })

        $( 'audio' ).audioPlayer();
    })
</script>
</html>
